var t = require("../../3D336854875DE5CF5B550053BF4D6824.js");

require("../../FFE95507875DE5CF998F3D00DB5D6824.js"), require("../../26C7E8E6875DE5CF40A180E17E6D6824.js");

Page({
    data: {
        type: "",
        bgUrl: "",
        title: "",
        subtitle: ""
    },
    onLoad: function(t) {
        console.log("facade.onload"), console.log(t.type);
        var a = t.type;
        null == a && (a = "plant"), this.setData({
            type: a
        }), this.loadContent(a);
    },
    
    loadContent: function(t) {
      getApp().globalData.currentType = t,
       this.setData({
          bgUrl: "/images/skin.jpg",
          title: "拍照识皮肤",
          subtitle: "进行皮肤病分类预测"
      });
    },
    onReady: function() {
        console.log("facade.onready");
    },
    onShow: function() {
        console.log("facade.onshow");
    },
    chooseImageByCamera: function() {
        var a = this.data.type;
        t.chooseImageByCamera(a);
    },
    chooseImageByAlbum: function() {
        var a = this.data.type;
        t.chooseImageByAlbum(a);
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});